package com.net.tkc.pro.impl;


import com.net.tkc.pro.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserImpl {
    User getUser(String phone, String upwd);
    User getUser2(String phone);
    List<User> getUser3();
    List<User> getUser4(String phone);
    int addUser(@Param("User") User user);//添加记录
    int upUser(String uname,String email,String upwd, String phone,
               String province,String city,String county, String cardid,
               String avatar,String username,String sex, String autograph,
               int online,int age,int type, int islive,int isvolunteer,int status,
               int id);//更新记录
    int upUser2(int id);
    int delUser(int id);
    String getAPI(String question);
}
